/*
 * @Author: yeminglong
 * @Date: 2023-12-01 14:13:49
 * @LastEditTime: 2023-12-01 14:30:10
 * @LastEditors: yeminglong
 * @Description:
 */

import { createRouter, createWebHistory } from 'vue-router';

const routes = [
	{
		path: '/login',
		name: 'login',
		component: () => import('../views/login/index.vue'),
	},
	{
		path: '/',
		name: 'home',
		component: () => import('../views/home/index.vue'),
	},
];

const router = createRouter({
	history: createWebHistory(),
	routes,
});

export default router;
